package com.lq.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

/**
 * 密码修改请求DTO
 *
 * @author lq
 * @since 2025-08-23
 */
@Data
@ApiModel(value = "PasswordChangeRequest对象", description = "密码修改请求参数")
public class PasswordChangeRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "旧密码", required = true)
    private String oldPassword;

    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}